package cn.fan.vertd;

import io.vertx.core.Vertx;
import io.vertx.core.VertxOptions;

import java.util.concurrent.TimeUnit;

public class Application {

    public static void main(String[] args) {
        Vertx vertx = Vertx.vertx(new VertxOptions().setWorkerPoolSize(8)
                .setMaxEventLoopExecuteTime(TimeUnit.SECONDS.toNanos(10))
        );
        vertx.deployVerticle(new MainVerticle());
        System.out.println("hello world");
    }
}
